<thead>
<tr class="active w_table_tr1">
    <td style="width: 12%">创建时间</td>
    <td style="width: 13%">竞价单号</td>
    <td style="width: 15%">竞价单名称</td>
    <td style="width: 12%">竞价单类型</td>
    <td style="width: 15%">截止时间（倒计时）</td>
    <td style="width: 15%">已报价数（金额）</td>
    <td style="width: 8%">操作</td>
</tr>
</thead>
<tbody>
<notempty name="list">
    <volist name="list" id="vo">
        <php>
            $cate_type=M('bid_type')->where(array('id'=> $vo['cate_id']))->getField('name');
            $user_count=M('bid_user')->where(array('bid_id'=>$vo['id']))->field('count(*) as user_count,sum(user_price) as price_count')->find();
        </php>
        <tr class="odd gradeX">
            <td>{$vo.start_time|time_format='Y-m-d H:i:s'}</td>
            <td>{$vo.bid_sn}</td>
            <td>{$vo.name}</td>
            <td class="center">{$cate_type}
            </td>
            <td class="center">{$vo.end_time|time_format='Y-m-d H:i:s'}</td>
            <td>{$user_count.user_count}({$user_count.price_count})</td>
            <td style="width: 8%" class="w_table_a1">
                <a href="{:U('bidding_info',array('id'=>$vo['id']))}" target="_blank">详情</a></a>
            </td>
        </tr>
    </volist>
    <else/>
    <tr><td colspan="7" class="text-center">暂时还没有竞价信息!</td>
    </tr>
</notempty>
</tbody>